Skip to content

Conversation

@dereuromark
Copy link
Member

Check if cakephp/phinx#2377 is also relevant for us

Seems like this is not an issue for 5.x+

Comment on lines +2452 to +2456
$this->assertMatchesRegularExpression(
'/decimal\(65,0\)/i',
$createTableSql,
'CREATE TABLE should contain DECIMAL(65,0) with scale=0 properly defined',
);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels like an assertion that may become brittle over time. We can try it and see how it goes. I think this kind of assertion is better done in cakephp/database as that is where the implementation lives.

@markstory markstory merged commit a04c081 into 5.x Nov 1, 2025
13 checks passed
@markstory markstory deleted the 5.x-scale0 branch November 1, 2025 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants